package com.mjf.cjt.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/5/23 11:22
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExpenseVO {

    private Long id;
    private String code; // 编码
    private String name; // 名称
    private ExpenseType expenseType;
    private ExpenseVO parent; // 父级

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ExpenseType {
        private Long id;
        private String code;
        private String name;
    }
}
